import axios from '../utils/request'


// 获取所有分类列表
export function categorylistFn() {
    return axios({
        url: '/pro/categorylist',
        method: 'GET'
    })
}

// 获取分类下品牌接口
export function categorybrandlistFn(data: {
    category: string
}) {
    return axios({
        url: '/pro/categorybrandlist',
        method: 'GET',
        data
    })
}

// 获取商品的接口
export function categorybrandprolistFn(data: {
    category: string,
    brand: string
}) {
    return axios({
        url: '/pro/categorybrandprolist',
        method: 'GET',
        data
    })
}